<div class="steps form">
<?php echo $form->create('Step');?>
	<fieldset>
 		<legend><?php __('Modifier step');?></legend>
	<?php
		echo $form->input('step_number', array( 'label' => 'Numéro du step (ordonnancement) :'));
		echo $form->input('step_action', array( 'label' => 'Action :'));
		echo $form->input('step_result', array( 'label' => 'Résultat :'));
		
		echo "<div class=\"input text\">" ;
		echo "<label for=\"StepStepProc\">Attaché à la procédure :</label>" ;
		echo $form->select('step_proc', $procedures, null, null, false);
		echo "</div>";
	?>
	</fieldset>
<?php echo $form->end('Modifier');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link('<img src="/ReqTrack/img/Supprimer.png" alt="Supprimer" title="Supprimer">', array('action'=>'delete', $form->value('Step.step_index')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Step.step_index')), null, null, false);?></li>
		<li><?php echo $html->link(__('Gérer '.$this->name, true), array('action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('Ajouter '.$this->name, true), array('action'=>'add')); ?> </li>
		<li><?php echo $html->link(__('Autres actions', true), array('controller'=> 'summaries', 'action'=>'index')); ?> </li>
	</ul>
</div>
